package com.dfrz.ch10.supertest;

/**
 * 作者：wangmaokang
 * 日期: 2021/4/20 15:02
 * 描述:
 */
public class Stu extends Person {

    private float fee;

    public Stu() {
        super();
    }


    public Stu(String name, int age, float fee) {
        super(name, age);
        this.fee = fee;
    }

    @Override
    public String toString() {
        return "Stu{" +
                "name='" + getName() + '\'' +
                ", age=" + getAge() +
                "fee=" + fee +
                '}';
    }

    public float getFee() {
        return fee;
    }

    public void setFee(float fee) {
        this.fee = fee;
    }
}
